﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Diagnostics;

namespace FlickrXplorer.Web.ViewData
{
    /// <summary>
    /// Holds information about a <exref target="http://www.flickr.com">flickr.com</exref>
    /// user.
    /// </summary>                                                                        
    [Serializable]
    [DebuggerDisplay("{RealName} ({Username})")]
    public class People
    {
        /// <summary>
        /// Gets or sets the username.
        /// </summary>                
        public string Username { get; set; }
        /// <summary>
        /// Gets or sets the user's real name.
        /// </summary>                        
        public string RealName { get; set; }
        /// <summary>
        /// Gets or sets the user Id.
        /// </summary>               
        public string Id { get; set; }
        /// <summary>
        /// Gets or sets the user's icon Url.
        /// </summary>                       
        public string IconUrl { get; set; }
        /// <summary>
        /// Gets or sets the user's geographic location. 
        /// </summary>                                   
        public string Location { get; set; }
        /// <summary>
        /// Gets or sets the user's profile Url.
        /// </summary>                          
        public string ProfileUrl { get; set; }
        /// <summary>
        /// Gets or sets whether the user is a professional or not.
        /// </summary>                                             
        public bool IsPro { get; set; }
    }
}